package com.choosefine.paycenter;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter;

/**
 * 目前webgateway实质是引入了各个模块。后续使用了rpc框架或springcloud后，那么webgateway就仅仅作为网关使用
 */
@SpringBootApplication
@EnableAspectJAutoProxy(proxyTargetClass = true)
public class PayCenterApplication extends WebMvcConfigurerAdapter {
    public static void main(String[] args) {
        SpringApplication.run(PayCenterApplication.class, args);
    }
}